﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.SeedWork;

namespace Windows.Admin.Domain
{
    public class PostLevel : FullEntity<long>
    {
        public PostLevel() 
        {
            Posts = new HashSet<Post>();
        }
        public int Level { get; set; }
        /// <summary>
        /// 职级编码
        /// </summary>
        public string Code { get; set; } = "";
        /// <summary>
        /// 职级名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 排序
        /// </summary>
        public int? Sort { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remark { get; set; }
        public ICollection<Post> Posts { get; set; }
    }
}
